<script>
new Vue({
    el:"#editTem",
    data: {
        
        userid: "",
        username: "",
        passwd: "",
        age: 0,
        addr: "",
        company: "",
        tel: "",
        email: "",
        gender: 1
    }
})
</script>
<div id="editTem">
    <form action="">
        <div class="input-group"><span class="input-group-addon">用户ID：</span><input type="text" class="form-control" v-model="userid" name="userid" readonly=""></div>
        <div class="input-group"><span class="input-group-addon">用户名：</span><input type="text" class="form-control" v-model="username" name="username" readonly=""></div>
        <div class="input-group"><span class="input-group-addon">密&nbsp;&nbsp;&nbsp;码：</span><input type="text" class="form-control" v-model="passwd" name="passwd"></div>
        <div class="input-group"><span class="input-group-addon">年&nbsp;&nbsp;&nbsp;龄：</span><input type="text" class="form-control" v-model="age" name="age"></div>
        <div class="input-group"><span class="input-group-addon">地&nbsp;&nbsp;&nbsp;址：</span><input type="text" class="form-control" v-model="addr" name="addr"></div>
        <div class="input-group"><span class="input-group-addon">邮&nbsp;&nbsp;&nbsp;箱：</span><input type="text" class="form-control" v-model="email" name="email"></div>
        <div class="input-group"><span class="input-group-addon">公&nbsp;&nbsp;&nbsp;司：</span><input type="text" class="form-control" v-model="company" name="company"></div>
        <div class="input-group">
            <span class="input-group-addon">性&nbsp;&nbsp;&nbsp;别：</span>
            <div class="gender">
                <label class="radio-inline">
                    <input type="radio" name="gender" v-model="gender" value="1"> 男
                </label>
                <label class="radio-inline">
                    <input type="radio" name="gender" v-model="gender" value="0">女
                </label>
            </div>
        </div></br>
        <div class="form-group">
            <button type="button" v-on:click="cancel" class="button btn-success col-md-3 col-md-offset-2">取消</button>
            <button type="button" v-on:click="edit" class="button btn-success col-md-3 col-md-offset-2">修改</button>
        </div>
    </form>
</div>